package org.kealinghornets.nxtdroid;

import org.kealinghornets.nxtdroid.NXT.NXTThread;

/**
 * Created by chuah on 11/12/14.
 */
public class myoffense1 extends NXTThread {

    public myoffense1() {
        setNXTThreadName("myoffense1");
    }


    public void run() {
        runMotor(PORT_A, 100);
        runMotor(PORT_B, 98);
        wait(3000);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        wait(1);
        runMotor(PORT_A);
        wait(700);
        stopMotor(PORT_A);
        runMotor(PORT_A, 100);
        runMotor(PORT_B, 98);
        wait(2000);
        stopMotor(PORT_A);
        stopMotor(PORT_B);





        reset();
    }
}
